package com.xds.gulimall.order.feign;

import com.xds.gulimall.order.vo.OrderConfirmVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author : baixu
 * @date : 12:04 2021/12/23
 */
@FeignClient("gulimall-cart")
public interface Cartfeign {
    @ResponseBody
    @GetMapping("/currentUserItems")
    public List<OrderConfirmVo.OderItemVo> getCurrentItems();
}
